{% extends "dashboard/base.html" %}

{% block inline_css %}
{{block.super}}
{% endblock %}

{% block title %}
{{block.super}} &gt;
<a href="{% url 'dashboard_create_album' %}">Create Album</a>
{% endblock %}
{% block dashboard_content %}
<form method="post" action="{% url 'album_new' %}">
{% csrf_token %}
<table class="settings_table">
<tr>
    <td class="leftcolumn" style="border:0px">
        <div class="setting_title">Title:</div>
        <div class="setting_description">
        </div>
    </td>
    <td style="border:0px">
        {{ album_form.title }}
        {{ album_form.title.errors }}
    </td>
</tr>
<tr>
    <td class="leftcolumn">
        <div class="setting_title">Description:</div>
        <div class="setting_description">
        </div>
    </td>
    <td>
        {{ album_form.description }}
        {{ album_form.description.errors }}
    </td>
</tr>
<tr>
    <td class="leftcolumn">
        <div class="setting_title">Visibility:</div>
        <div class="setting_description">
            Permit anyone to view this album?
        </div>
    </td>
    <td>
        {{ album_form.publicly_visible }}
        {{ album_form.publicly_visible.errors }}
    </td>
</tr>
</table>
<input type="hidden" name="from" value="{{ request.path }}" />
<br />
<div style="text-align:center">
    <input type="submit" value="Create Album" class="bigbutton" />
    <a href="{% url 'dashboard_albums' %}" style="margin-left:10px">Cancel</a>
</div>
</form>
{% endblock %}
